  <?php
   $TOPIC ="";
  $NAME ="";
  $EMAIL ="";
  $TEL ="";
  $TYPE ="";
  $DETAIL_HAVE  ="";
  $DETAIL_EXCHANGE  ="";
  $DETAIL_WANT  ="";
  $BIRTHDAY  = "";
  $DATE_ADD  = "";

  if (isset($_REQUEST['mm']))
  {
	  	$TOPIC = $_REQUEST['topic'];
		  $NAME = $_REQUEST['name'];
		  $EMAIL = $_REQUEST['email'];
		  $TEL = $_REQUEST['tel'];
		  $TYPE = $_REQUEST['radType'];
		  $DETAIL_HAVE  = $_REQUEST['have'];
		  $DETAIL_EXCHANGE  = $_REQUEST['exchange'];
		  $DETAIL_WANT  = $_REQUEST['want'];
		  $BIRTHDAY  = "1975-6-19";
		  //$_POST['selYear']."-".$_POST['selMonth']."-".$_POST['selDate'];
		  echo $DETAIL_HAVE."cvbcvbcvbcb<BR>";
		  echo $DETAIL_EXCHANGE."cvbcvbcvb<BR>";
		  echo $DETAIL_WANT."bbcbcvbcvb<BR>";
		  exit();

		//  $sql = "insert into excgange_room(TOPIC,NAME,EMAIL,TEL,TYPE,DETAIL_HAVE,DETAIL_EXCHANGE,DETAIL_WANT,BIRTHDAY,DATE_ADD) values('$TOPIC','$NAME','$EMAIL','$TEL','$TYPE','$DETAIL_HAVE','$DETAIL_EXCHANGE','$DETAIL_WANT','$BIRTHDAY',now())";
		//  $result = mysql_db_query($dbname,$sql) or die("cannot execute command: ".mysql_error());
  }

?>